package com.wtu.bean;

public class Student {
	private String sno;
	private String name;
	private String password;
	private String sex;
	private String major;
	private String hobby;
	public Student() {
	}
	public String getSno() {
		return sno;
	}
	public void setSno(String sno) {
		this.sno = sno;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	public String getHobby() {
		return hobby;
	}
	public void setHobby(String hobby) {
		this.hobby = hobby;
	}
	@Override
	public String toString() {
		return "Student [sno=" + sno + ", name=" + name + ", password="
				+ password + ", sex=" + sex + ", major=" + major + ", hobby="
				+ hobby + "]";
	}
}
